package com.lhd.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lhd.model.common.dtos.ResponseResult;
import com.lhd.model.wemedia.dtos.WmMaterialDto;
import com.lhd.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

/**
 * @CreateTime: 2023/8/8
 * @Author: <==lhd==>
 * @Description:
 */
public interface WmMaterialService extends IService<WmMaterial> {

    /**
     * 图片上传
     * @param multipartFile
     * @return
     */
    public ResponseResult uploadPicture(MultipartFile multipartFile);

    /**
     * 素材列表查询
     * @param dto
     * @return
     */
    public ResponseResult findList(WmMaterialDto dto);
}
